package com.placovu.athenaeum.entity

class Chapter {
	String name;
	String content;
	int serial;
	Book book;
	
	static belongsTo = [ book : Book ]
		
    static constraints = {
		name(blank:false)
		serial(blank:false)
		content(size:0..2147483646)
    }
	
	String toString(){
		return name
	}
}
